/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tests;

import java.io.DataOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.net.Socket;

/**
 *
 * @author gob
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

      NetPacket theClipboard = new NetPacket();

      try {
        Socket clientSock = new Socket("192.168.2.67", 12345);
        ObjectOutputStream output = new ObjectOutputStream( new DataOutputStream(clientSock.getOutputStream()));
        output.writeObject(theClipboard);
      } catch (IOException e) {
        System.out.println(e);
      }

    }

}
